/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.runtime;

import java.util.Stack;

/**
 *
 * @author oiprado
 */
public interface Response <T> {
  public String errorMessage();
  public T getResult();
  void setResult(T result);
  public void addMessage(String message);
  public void addMessage(Throwable message);
  public Stack<String> getStackTrace() ;
  public void setStackTrace(Stack<String> stackTrace);
}
